package com.quesucede.gameoflife;

import android.app.Activity;
import android.os.Bundle;

/**
 * A simple activity that holds the contents of the preference fragment
 * @author William Sugarman, and Brian Pokrifka
 */
public class SettingsActivity extends Activity {
	
	@Override
	/**
	 * Called when initialized and replaces its own content with that
	 * of the SettingsFragment
	 * @param savedInstanceState - the saved state
	 */
	public void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		
		getFragmentManager().beginTransaction()
			.replace(android.R.id.content, new SettingsFragment())
			.commit();
	}

}
